//
//  HSYWaterWaveView.h
//  高仿暴走斗图
//
//  Created by key on 16/9/26.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, kWaterWaveAnimationType) {

    kWaterWaveAnimationTypeNone,
    kWaterWaveAnimationTypeShow,
    kWaterWaveAnimationTypeHide,
    
};

@interface HSYWaterWaveView : UIView

@property (nonatomic, assign) CGFloat waveSpeed;                    //波纹速度
@property (nonatomic, assign) CGFloat waveUpGrowth;                 //波纹上升速度

@property (nonatomic, strong) UIColor *firstWaveColor;              //第一个波浪颜色
@property (nonatomic, strong) UIColor *secondWaveColor;             //第二个波浪颜色
@property (nonatomic, assign) CGFloat upMaxPercent;                 //上升高度最大百分比,取值区间为:[0,1]

- (void)wave;                                                       //开始动画
- (void)stop;                                                       //结束动画

@end
